<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>动迁项目表单</title>
<link rel="stylesheet" type="text/css" href="${def:context}/dqFormStyle.css" />

<!--biblioteca generica JS/Dinamica-->
<script type="text/javascript" src="${def:context}/action/script?random=" + Math.random()></script>

<script language="JavaScript" type="text/javascript" src="${def:context}/js/common.js"></SCRIPT>
<script language="JavaScript" type="text/javascript" src="${def:context}/js/formCheck.js"></script>
<script language="JavaScript" type="text/javascript" src="${def:context}/js/WinOpen.js"></script>

<script type="text/javascript" src="${def:context}/js/jquery-1.4.2.min.js"></script> 
<script type="text/javascript" src="${def:context}/js/dq/jiesuan_hand.js"></script> 

<style type="text/css">
<!--
.font0 {color:windowtext;
    font-size:12.0pt;
    font-weight:400;
    font-style:normal;
    text-decoration:none;
    font-family:宋体;
    mso-generic-font-family:auto;
    mso-font-charset:134;}
.font7 {color:#333333;
    font-size:12.0pt;
    font-weight:400;
    font-style:normal;
    text-decoration:none;
    font-family:宋体;
    mso-generic-font-family:auto;
    mso-font-charset:134;}
.xl24 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:middle;
    border:1.5pt solid black;
    white-space:normal;}
.xl25 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:middle;
    border-top:1.5pt solid black;
    border-right:1.5pt solid black;
    border-bottom:1.5pt solid black;
    border-left:none;
    white-space:normal;}
.xl26 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:middle;
    border-top:none;
    border-right:1.5pt solid black;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl27 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:middle;
    border-top:none;
    border-right:1.5pt solid black;
    border-bottom:1.5pt solid black;
    border-left:none;
    white-space:normal;}
.xl28 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:top;
    border-top:none;
    border-right:1.5pt solid black;
    border-bottom:1.5pt solid black;
    border-left:none;
    white-space:normal;}
.xl29 {mso-style-parent:style0;
    color:#333333;
    mso-number-format:"m\0022月\0022d\0022日\0022";
    text-align:center;
    vertical-align:top;
    border-top:none;
    border-right:1.5pt solid black;
    border-bottom:1.5pt solid black;
    border-left:none;
    white-space:normal;}
.xl30 {mso-style-parent:style0;
    color:#333333;
    mso-number-format:"\#\,\#\#0\.00_\)\;\[Red\]\\\(\#\,\#\#0\.00\\\)";
    text-align:center;
    vertical-align:middle;
    border-top:none;
    border-right:1.5pt solid black;
    border-bottom:1.5pt solid black;
    border-left:none;
    white-space:normal;}
.xl31 {mso-style-parent:style0;
    color:#333333;
    mso-number-format:"\#\,\#\#0\.00_\)\;\[Red\]\\\(\#\,\#\#0\.00\\\)";
    border-top:none;
    border-right:1.5pt solid black;
    border-bottom:1.5pt solid black;
    border-left:none;
    white-space:normal;}
.xl32 {mso-style-parent:style0;
    font-size:27.0pt;
    font-family:黑体;
    mso-generic-font-family:auto;
    mso-font-charset:134;
    text-align:center;}
.xl34 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:middle;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl35 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:middle;
    border-top:1.5pt solid black;
    border-right:1.5pt solid black;
    border-bottom:none;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl36 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:top;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl38 {mso-style-parent:style0;
    color:#333333;
    mso-number-format:"\#\,\#\#0\.00_\)\;\[Red\]\\\(\#\,\#\#0\.00\\\)";
    text-align:center;
    vertical-align:top;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl41 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    border-top:1.5pt solid black;
    border-right:1.5pt solid black;
    border-bottom:none;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl43 {mso-style-parent:style0;
    color:#333333;
    mso-number-format:"\#\,\#\#0\.00_\)\;\[Red\]\\\(\#\,\#\#0\.00\\\)";
    text-align:center;
    vertical-align:middle;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl46 {mso-style-parent:style0;
    mso-number-format:"\#\,\#\#0\.00_\)\;\[Red\]\\\(\#\,\#\#0\.00\\\)";
    text-align:center;
    vertical-align:middle;
    border-top:1.5pt solid black;
    border-right:1.5pt solid black;
    border-bottom:none;
    border-left:1.5pt solid black;}
.xl49 {mso-style-parent:style0;
    color:#333333;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl51 {mso-style-parent:style0;
    color:#333333;
    mso-number-format:"\#\,\#\#0\.00_\)\;\[Red\]\\\(\#\,\#\#0\.00\\\)";
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl53 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl56 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:middle;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:none;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl64 {mso-style-parent:style0;
    color:#333333;
    mso-number-format:"\#\,\#\#0\.00_ ";
    text-align:center;
    vertical-align:middle;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:none;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl71 {mso-style-parent:style0;
    color:#333333;
    text-align:right;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl73 {mso-style-parent:style0;
    color:#333333;
    text-align:left;
    vertical-align:top;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl341 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:middle;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl3411 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:middle;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl281 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:top;
    border-top:none;
    border-right:1.5pt solid black;
    border-bottom:1.5pt solid black;
    border-left:none;
    white-space:normal;}
.xl282 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:top;
    border-top:none;
    border-right:1.5pt solid black;
    border-bottom:1.5pt solid black;
    border-left:none;
    white-space:normal;}
.xl283 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:top;
    border-top:none;
    border-right:1.5pt solid black;
    border-bottom:1.5pt solid black;
    border-left:none;
    white-space:normal;}
.xl284 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:top;
    border-top:none;
    border-right:1.5pt solid black;
    border-bottom:1.5pt solid black;
    border-left:none;
    white-space:normal;}
.xl2841 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:top;
    border-top:none;
    border-right:1.5pt solid black;
    border-bottom:1.5pt solid black;
    border-left:none;
    white-space:normal;}
.xl461 {mso-style-parent:style0;
    mso-number-format:"\#\,\#\#0\.00_\)\;\[Red\]\\\(\#\,\#\#0\.00\\\)";
    text-align:center;
    vertical-align:middle;
    border-top:1.5pt solid black;
    border-right:1.5pt solid black;
    border-bottom:none;
    border-left:1.5pt solid black;}
.xl462 {mso-style-parent:style0;
    mso-number-format:"\#\,\#\#0\.00_\)\;\[Red\]\\\(\#\,\#\#0\.00\\\)";
    text-align:center;
    vertical-align:middle;
    border-top:1.5pt solid black;
    border-right:1.5pt solid black;
    border-bottom:none;
    border-left:1.5pt solid black;}
.xl463 {mso-style-parent:style0;
    mso-number-format:"\#\,\#\#0\.00_\)\;\[Red\]\\\(\#\,\#\#0\.00\\\)";
    text-align:center;
    vertical-align:middle;
    border-top:1.5pt solid black;
    border-right:1.5pt solid black;
    border-bottom:none;
    border-left:1.5pt solid black;}
.xl4621 {mso-style-parent:style0;
    mso-number-format:"\#\,\#\#0\.00_\)\;\[Red\]\\\(\#\,\#\#0\.00\\\)";
    text-align:center;
    vertical-align:middle;
    border-top:1.5pt solid black;
    border-right:1.5pt solid black;
    border-bottom:none;
    border-left:1.5pt solid black;}
.xl342 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:middle;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl343 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:middle;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl285 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:top;
    border-top:none;
    border-right:1.5pt solid black;
    border-bottom:1.5pt solid black;
    border-left:none;
    white-space:normal;}
.font01 {color:windowtext;
    font-size:12.0pt;
    font-weight:400;
    font-style:normal;
    text-decoration:none;
    font-family:宋体;
    mso-generic-font-family:auto;
    mso-font-charset:134;}
.font02 {color:windowtext;
    font-size:12.0pt;
    font-weight:400;
    font-style:normal;
    text-decoration:none;
    font-family:宋体;
    mso-generic-font-family:auto;
    mso-font-charset:134;}
.font03 {color:windowtext;
    font-size:12.0pt;
    font-weight:400;
    font-style:normal;
    text-decoration:none;
    font-family:宋体;
    mso-generic-font-family:auto;
    mso-font-charset:134;}
.font04 {color:windowtext;
    font-size:12.0pt;
    font-weight:400;
    font-style:normal;
    text-decoration:none;
    font-family:宋体;
    mso-generic-font-family:auto;
    mso-font-charset:134;}
.font05 {color:windowtext;
    font-size:12.0pt;
    font-weight:400;
    font-style:normal;
    text-decoration:none;
    font-family:宋体;
    mso-generic-font-family:auto;
    mso-font-charset:134;}
.font06 {color:windowtext;
    font-size:12.0pt;
    font-weight:400;
    font-style:normal;
    text-decoration:none;
    font-family:宋体;
    mso-generic-font-family:auto;
    mso-font-charset:134;}
.font07 {color:windowtext;
    font-size:12.0pt;
    font-weight:400;
    font-style:normal;
    text-decoration:none;
    font-family:宋体;
    mso-generic-font-family:auto;
    mso-font-charset:134;}
.font08 {color:windowtext;
    font-size:12.0pt;
    font-weight:400;
    font-style:normal;
    text-decoration:none;
    font-family:宋体;
    mso-generic-font-family:auto;
    mso-font-charset:134;}
.font09 {color:windowtext;
    font-size:12.0pt;
    font-weight:400;
    font-style:normal;
    text-decoration:none;
    font-family:宋体;
    mso-generic-font-family:auto;
    mso-font-charset:134;}
.font010 {color:windowtext;
    font-size:12.0pt;
    font-weight:400;
    font-style:normal;
    text-decoration:none;
    font-family:宋体;
    mso-generic-font-family:auto;
    mso-font-charset:134;}
.font011 {color:windowtext;
    font-size:12.0pt;
    font-weight:400;
    font-style:normal;
    text-decoration:none;
    font-family:宋体;
    mso-generic-font-family:auto;
    mso-font-charset:134;}
.font012 {color:windowtext;
    font-size:12.0pt;
    font-weight:400;
    font-style:normal;
    text-decoration:none;
    font-family:宋体;
    mso-generic-font-family:auto;
    mso-font-charset:134;}
.font013 {color:windowtext;
    font-size:12.0pt;
    font-weight:400;
    font-style:normal;
    text-decoration:none;
    font-family:宋体;
    mso-generic-font-family:auto;
    mso-font-charset:134;}
.font014 {color:windowtext;
    font-size:12.0pt;
    font-weight:400;
    font-style:normal;
    text-decoration:none;
    font-family:宋体;
    mso-generic-font-family:auto;
    mso-font-charset:134;}
.xl491 {mso-style-parent:style0;
    color:#333333;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl286 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:top;
    border-top:none;
    border-right:1.5pt solid black;
    border-bottom:1.5pt solid black;
    border-left:none;
    white-space:normal;}
.xl492 {mso-style-parent:style0;
    color:#333333;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl344 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:middle;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl287 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:top;
    border-top:none;
    border-right:1.5pt solid black;
    border-bottom:1.5pt solid black;
    border-left:none;
    white-space:normal;}
.font091 {color:windowtext;
    font-size:12.0pt;
    font-weight:400;
    font-style:normal;
    text-decoration:none;
    font-family:宋体;
    mso-generic-font-family:auto;
    mso-font-charset:134;}
.xl731 {mso-style-parent:style0;
    color:#333333;
    text-align:left;
    vertical-align:top;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl732 {mso-style-parent:style0;
    color:#333333;
    text-align:left;
    vertical-align:top;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl733 {mso-style-parent:style0;
    color:#333333;
    text-align:left;
    vertical-align:top;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl7321 {mso-style-parent:style0;
    color:#333333;
    text-align:left;
    vertical-align:top;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl561 {mso-style-parent:style0;
    color:#333333;
    text-align:center;
    vertical-align:middle;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:none;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl73211 {mso-style-parent:style0;
    color:#333333;
    text-align:left;
    vertical-align:top;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl734 {mso-style-parent:style0;
    color:#333333;
    text-align:left;
    vertical-align:top;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl735 {mso-style-parent:style0;
    color:#333333;
    text-align:left;
    vertical-align:top;
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
.xl511 {mso-style-parent:style0;
    color:#333333;
    mso-number-format:"\#\,\#\#0\.00_\)\;\[Red\]\\\(\#\,\#\#0\.00\\\)";
    border-top:1.5pt solid black;
    border-right:none;
    border-bottom:1.5pt solid black;
    border-left:1.5pt solid black;
    white-space:normal;}
-->
</style>
</head>
<body>

<br>
<center>

<div id="form">
<form name="formEditor" onsubmit="return update()">
<table name="" id="order-table">

      <col width="39" style='width:29pt' />
      <col width="72" style='width:54pt' />
      <col width="84" style='width:63pt' />
      <col width="72" style='width:54pt' />
      <col width="50" style='width:38pt' />
      <col width="30" style='width:23pt' />
      <col width="79" style='width:59pt' />
      <col width="98" style='width:74pt' />
      <col width="72" style='width:54pt' />
      <tr height="46" style='height:34.5pt'>
        <td nowrap  colspan="10" height="46" class="xl32" style='height:34.5pt;
  width:502pt'>动迁户分配楼房费用结算表</td>
      </tr>
	  <tr height="20" style='height:15.0pt'>
        <td nowrap align="center"  height="20" colspan="10" style='height:15.0pt;mso-ignore:colspan'>
			选择结算日期<input id="create_date" name="create_date" type="text" size="15" value="" maxlength="10" readonly>
				<img class="tool" src="${def:context}/images/calendar.gif" 
					title="打开日历.." onclick="calendarOpen('create_date')">
		</td>
      </tr>
      <tr height="40" style='height:30.0pt'>
        <td nowrap  height="40" class="xl24" width="61" style='height:30.0pt;width:29pt'><p>户主</p>
          <p>姓名</p></td>
        <td nowrap  colspan="2" class="xl34" style='border-right:1.5pt solid black;
  border-left:none;width:108pt'>
          ${fld:master_name@js}<!--<input name="" type="text" class="normal-input" id="turface-pro-league-num-pallets33" value="${fld:master_name@js}" readonly="readonly" />-->        </td>
        <td nowrap  class="xl25" width="115" style='width:63pt'>人口</td>
        <td nowrap  class="xl25" width="113" style='width:54pt' x:num="x:num"><span class="num-pallets">
          ${fld:population@#}${fld:onchild_desc}${fld:local_desc}<!--input name="population" type="text" class="num-pallets-input" id="population" value="${fld:population@#}" readonly="readonly" /-->
        </span></td>
        <td nowrap  colspan="2" class="xl34" style='border-right:1.5pt solid black;
  border-left:none;width:92pt'>原住址</td>
        <td nowrap  colspan="3" class="xl34" style='border-right:1.5pt solid black;
  border-left:none;width:156pt'><span class="num-pallets">
         ${fld:cun_name@js} <!--input type="text" class="num-pallets-input-morelength" name="original_address" id="original_address" value="${fld:cun_name@js}" /-->
        </span></td>
      </tr>
      <tr height="40" style='height:30.0pt'>
        <td nowrap  height="40" class="xl26" width="61" style='height:30.0pt;width:29pt'><p>分配</p>
          <p>室型</p></td>
        <td nowrap  colspan="3" class="xl34" style='border-right:1.5pt solid black;
  border-left:none;width:171pt' x:num="x:num"><span class="num-pallets">
          ${fld:room_type@js}
        </span></td>
        <td nowrap  class="xl27" width="113" style='width:54pt'>楼号</td>
        <td nowrap  colspan="5" class="xl34" style='border-right:1.5pt solid black; border-left:none; width:248pt; color: #3E8EFF;'>
          <span class="num-pallets">
          ${fld:location_name1@js}&nbsp;${fld:house_name@js}          </span></td>
      </tr>
      <tr height="21" style='height:15.75pt'>
        <td nowrap  rowspan="2" height="150" class="xl35" width="61" style='border-bottom:1.5pt solid black;
  height:112.5pt;border-top:none;width:29pt'>原<br />
          房<br />
          及<br />
          设<br />
          施<br />
          金<br />
          额</td>
        <td nowrap  class="xl27" width="102" style='width:54pt'>等级</td>
        <td nowrap  class="xl27" width="102" style='width:54pt'>面积</td>
        <td nowrap  class="xl27" width="115" style='width:63pt'>单价</td>
        <td nowrap  class="xl27" width="113" style='width:54pt'>金额</td>
        <td nowrap  colspan="2" class="xl34" style='border-right:1.5pt solid black;
  border-left:none;width:92pt'>兑顶</td>
        <td nowrap  colspan="2" class="xl34" style='border-right:1.5pt solid black;
  border-left:none;width:82pt'>院内设施金额</td>
        <td nowrap  class="xl27" width="150" style='width:74pt'>合&nbsp;计&nbsp;金&nbsp;额</td>
      </tr>
      <tr height="129" style='mso-height-source:userset;height:96.75pt'>
        <td nowrap  height="129" class="xl28" width="102" style='height:96.75pt;width:54pt'><span class="num-pallets">
        <input type="text" class="num-pallets-input" name="zf_level1" id="zf_level1" value="" readonly/>
        <input type="text" class="num-pallets-input" name="zf_level2" id="zf_level2" value="" readonly/>
		<br/>${fld:zf_number}间
        <input type="text" class="num-pallets-input" name="xf_level1" id="xf_level1" value="" readonly/>
        </span></td>
        <td nowrap  class="xl28" width="102" style='width:54pt'><span class="num-pallets">
        <input type="text" class="num-pallets-input" name="zf_area1" id="zf_area1" value="" readonly/>
        <input type="text" class="num-pallets-input" name="zf_area2" id="zf_area2" value="" readonly/><br/><br/>
        <input type="text" class="num-pallets-input" name="xf_area1" id="xf_area1" value="" readonly/>
        </span></td>
        <td nowrap  class="xl29" width="115" style='width:63pt'><span class="num-pallets">
        <input type="text" class="num-pallets-input" name="zf_price1" id="zf_price1" value="" readonly/>
        <input type="text" class="num-pallets-input" name="zf_price2" id="zf_price2" value="" readonly/><br/><br/>
        <input type="text" class="num-pallets-input" name="xf_price1" id="xf_price1" value="" readonly/>
        </span></td>
        <td nowrap  class="xl28" width="113" style='width:54pt'><span class="num-pallets">
        <input type="text" class="num-pallets-input" name="zf_total1" id="zf_total1" value="" readonly/>
        <input type="text" class="num-pallets-input" name="zf_total2" id="zf_total2" value="" readonly/><br/><br/>
        <input type="text" class="num-pallets-input" name="xf_total1" id="xf_total1" value="" readonly/>
        </span></td>
        <td nowrap  colspan="2" class="xl36" style='border-right:1.5pt solid black;
  border-left:none;width:92pt' x:num="x:num"><span class="num-pallets">
          <input type="text" class="num-pallets-input" name="duiding_area_z1" id="duiding_area_z1" value="" readonly/><br/>
          <input type="text" class="num-pallets-input" name="duiding_area_z2" id="duiding_area_z2" value="" readonly/><br/><br/>
          <input type="text" class="num-pallets-input" name="duiding_area_x1" id="duiding_area_x1" value="" readonly/>
          </span>		  </td>
        <td nowrap  colspan="2" class="xl38" style='border-right:1.5pt solid black;
  border-left:none;width:82pt' x:num="6658.5">
          <input name="yuannei_total_fee" type="text" class="total-box" id="yuannei_total_fee" value="" readonly />       </td>
        <td width="150" align="center" valign="middle" nowrap  class="xl28" style='width:74pt'>
          <input name="oldhouse_total_fee" type="text" class="total-box" id="oldhouse_total_fee" value="" readonly/>        </td>
      </tr>
      <tr height="21" style='height:15.75pt'>
        <td nowrap  rowspan="7" height="158" class="xl41" width="61" style='border-bottom:1.5pt solid black;
  height:118.5pt;border-top:none;width:29pt'>分<br />
          配<br />
          楼<br />
          房<br />
          面<br />
          积<br />
          及<br />
          金<br />
          额</td>
        <td nowrap  colspan="5" class="xl34" style='border-right:1.5pt solid black;
  border-left:none;width:279pt'>建筑面积<span class="num-pallets">
          <input type="text" class="num-pallets-input" name="jianzhu_area" id="jianzhu_area" value="" readonly/>
        </span>m2
          结算面积<span class="num-pallets">
          <input type="text" class="num-pallets-input" name="jiesuan_area" id="jiesuan_area" value="" readonly/>
          </span>m2        </td>
		  <td nowrap colspan="2" class="xl27" width="150" style='width:74pt'>楼&nbsp;层&nbsp;差&nbsp;价</td>
        <td nowrap colspan="2" class="xl27" width="150" style='width:74pt'>合&nbsp;计&nbsp;金&nbsp;额</td>
      </tr>
      <tr height="21" style='height:15.75pt'>
        <td nowrap  colspan="2" height="21" class="xl34" style='border-right:1.5pt solid black;
  height:15.75pt;border-left:none;width:108pt'>面&nbsp;&nbsp;积</td>
        <td nowrap  class="xl30" width="115" style='width:63pt'>单&nbsp;&nbsp;价</td>
        <td nowrap  colspan="2" class="xl43" style='border-right:1.5pt solid black;
  border-left:none;width:108pt'>金&nbsp;&nbsp;额</td>
  		<td nowrap class="xl43" style='border-right:1.5pt solid black;border-left:none;width:108pt'>
			增加<input type="text" class="num-pallets-input" name="zengjia_per" id="zengjia_per" value="" />%		</td>
  		<td nowrap class="xl43" style='border-right:1.5pt solid black;border-left:none;width:108pt'>
			减少<input type="text" class="num-pallets-input" name="jianshao_per" id="jianshao_per" value="" />%		</td>
        <td nowrap  colspan="2" rowspan="6" class="xl46" style='border-bottom:1.5pt solid black;border-top:
  none' x:num="20925"><input name="newhouse_total_fee" type="text" class="total-box" id="newhouse_total_fee" value="" readonly/></td>
      </tr>
      <tr height="21" style='height:15.75pt'>
        <td nowrap  colspan="2" height="21" class="xl49" style='border-right:1.5pt solid black;
  height:15.75pt;border-left:none;width:108pt'>兑顶：<span class="num-pallets">
          <input type="text" class="num-pallets-input" name="duiding_area" id="duiding_area" value="" readonly/>
        </span></td>
        <td nowrap  class="xl31" width="115" style='width:63pt'>&nbsp;</td>
        <td nowrap  colspan="2" class="xl51" style='border-right:1.5pt solid black;
  border-left:none;width:108pt'>　</td>
  		<td nowrap rowspan="5" align="center" class="xl43" style='border-right:1.5pt solid black;border-left:none;width:108pt'>
			<input name="zengjia_fee" type="text" class="total-box" id="zengjia_fee" value="" readonly/>
					</td>
  		<td nowrap rowspan="5" align="center" class="xl43" style='border-right:1.5pt solid black;border-left:none;width:108pt'>
			<input name="jianshao_fee" type="text" class="total-box" id="jianshao_fee" value="" readonly/>
		  </td>
      </tr>
      <tr height="21" style='height:15.75pt'>
        <td nowrap  colspan="2" height="21" class="xl49" style='border-right:1.5pt solid black;
  height:15.75pt;border-left:none;width:108pt'>应分：<span class="num-pallets">
          <input type="text" class="num-pallets-input" name="yingfen_area" id="yingfen_area" readonly/>
        </span></td>
        <td nowrap="nowrap"  class="xl31" width="115" style='width:63pt'><span class="num-pallets">
          <input type="text" class="num-pallets-input" name="yingfen_price" id="yingfen_price" value="700" readonly/>
        </span></td>
        <td nowrap="nowrap"  colspan="2" class="xl51" style='border-right:1.5pt solid black;
  border-left:none;width:108pt'>　<span class="num-pallets">
          <input type="text" class="num-pallets-input" name="yingfen_fee" id="yingfen_fee" readonly/>
        </span></td>
      </tr>
      <tr height="21" style='height:15.75pt'>
        <td nowrap  colspan="2" height="21" class="xl49" style='border-right:1.5pt solid black;
  height:15.75pt;border-left:none;width:108pt'>增档：<span class="num-pallets">
          <input type="text" class="num-pallets-input" name="zengdang_area" id="zengdang_area" readonly/>
        </span></td>
        <td nowrap="nowrap"  class="xl31" width="115" style='width:63pt'><span class="num-pallets">
          <input type="text" class="num-pallets-input" name="zengdang_price" id="zengdang_price" value="1500" readonly/>
        </span></td>
        <td nowrap="nowrap"  colspan="2" class="xl51" style='border-right:1.5pt solid black;
  border-left:none;width:108pt'><span class="num-pallets">
          <input type="text" class="num-pallets-input" name="zengdang_fee" id="zengdang_fee" readonly/>
        </span></td>
      </tr>
      <tr height="21" style='height:15.75pt'>
        <td nowrap  colspan="2" height="21" class="xl49" style='border-right:1.5pt solid black;
  height:15.75pt;border-left:none;width:108pt'>超档：<span class="num-pallets">
          <input type="text" class="num-pallets-input" name="chaodang_area" id="chaodang_area" readonly/>
        </span></td>
        <td nowrap  class="xl31" width="115" style='width:63pt'><span class="num-pallets">
          <input type="text" class="num-pallets-input" name="chaodang_price" id="chaodang_price" value=""/>
        </span></td>
        <td nowrap="nowrap"  colspan="2" class="xl51" style='border-right:1.5pt solid black;
  border-left:none;width:108pt'>　<span class="num-pallets">
          <input type="text" class="num-pallets-input" name="chaodang_fee" id="chaodang_fee" readonly/>
        </span></td>
      </tr>
      <tr height="32" style='mso-height-source:userset;height:24.0pt'>
        <td nowrap  colspan="2" height="32" class="xl49" style='border-right:1.5pt solid black;
  height:24.0pt;border-left:none;width:108pt'><input type="text" class="num-pallets-input-lesslength-2" name="other_name" id="other_name" value="其他" />：
        <input type="text" class="num-pallets-input" name="other_area" id="other_area" readonly/>
        </span></span></td>
        <td nowrap  class="xl31" width="115" style='width:63pt'><span class="num-pallets">
          <input type="text" class="num-pallets-input" name="other_price" id="other_price" readonly/>
        </span></td>
        <td nowrap  colspan="2" class="xl51" style='border-right:1.5pt solid black;
  border-left:none;width:108pt'>　<span class="num-pallets">
          <input type="text" class="num-pallets-input" name="other_fee" id="other_fee" readonly/>
        </span></td>
      </tr>
      <tr height="21" style='height:15.75pt'>
        <td nowrap  colspan="3" height="21" class="xl53" style='border-right:1.5pt solid black;
  height:15.75pt;width:137pt'>其他计费项目</td>
        <td nowrap  colspan="7" class="xl49" style='border-right:1.5pt solid black;
  border-left:none;width:365pt'><p><span class="num-pallets">费用说明：
              <input type="text" class="num-pallets-input-morelength" name="other_cost_name" id="other_cost_name" readonly/>
        </span></p>
          <p>费用金额：<span class="num-pallets">
          <input type="text" class="num-pallets-input" name="other_cost_fee" id="other_cost_fee" readonly/>
        </span></p></td>
      </tr>
      <tr height="20" style='mso-height-source:userset;height:15.0pt'>
        <td nowrap  colspan="3" rowspan="2" height="78" class="xl56" style='border-right:
  1.5pt solid black;border-bottom:1.5pt solid black;height:58.5pt;width:137pt'>分配楼房与原房<br />
          结算(&nbsp;&nbsp;)金额<br>
          欠<input type="radio" name="enouph_flag" value="0" checked><br>
        余<input type="radio" name="enouph_flag" value="1"></td>
        <td nowrap class="xl35" width="115" style='border-bottom:1.5pt solid black;
  border-top:none;width:63pt'>小写</td>
        <td nowrap  colspan="6" class="xl64" style='border-right:1.5pt solid black;
  border-bottom:1.5pt solid black;width:302pt' x:num="13766.5"><input name="jiesuan_fee" type="text" class="total-box" id="jiesuan_fee" value="0" readonly="readonly"/></td>
      </tr>
      <tr height="38" style='mso-height-source:userset;height:28.5pt'>
        <td nowrap  height="38" class="xl27" width="115" style='height:28.5pt;width:63pt'>大写</td>
        <td colspan="6" class="xl71" style='border-right:1.5pt solid black;
  border-left:none;width:382pt'><font class="font0"><span class="num-pallets">
          <input name="jiesuan_daxie_wan" type="text" class="num-pallets-input-lesslength-2" id="jiesuan_daxie_wan" readonly="readonly" />
        </span>万
          </font><font class="font09"><span class="num-pallets">
          <input name="jiesuan_daxie_qian" type="text" class="num-pallets-input-lesslength" id="jiesuan_daxie_qian" value="" readonly="readonly" />
          </span></font><font class="font0">仟 </font><font class="font010"><span class="num-pallets">
          <input name="jiesuan_daxie_bai" type="text" class="num-pallets-input-lesslength" id="jiesuan_daxie_bai" value="" readonly="readonly" />
          </span></font><font class="font0">佰 </font><font class="font011"><span class="num-pallets">
          <input name="jiesuan_daxie_shi" type="text" class="num-pallets-input-lesslength" id="jiesuan_daxie_shi" value="" readonly="readonly" />
          </span></font><font class="font0">拾 </font><font class="font012"><span class="num-pallets">
          <input name="jiesuan_daxie_yuan" type="text" class="num-pallets-input-lesslength" id="jiesuan_daxie_yuan" value="" readonly="readonly" />
          </span></font><font class="font0">元 </font><font class="font013"><span class="num-pallets">
          <input name="jiesuan_daxie_jiao" type="text" class="num-pallets-input-lesslength" id="jiesuan_daxie_jiao" value="" readonly="readonly" />
          </span></font><font class="font0">角 </font><font class="font014"><span class="num-pallets">
          <input name="jiesuan_daxie_fen" type="text" class="num-pallets-input-lesslength" id="jiesuan_daxie_fen" value="" readonly="readonly" />
          </span></font><font class="font0">分</font><font class="font7">&nbsp;<span
  style='mso-spacerun:yes'>&nbsp;</span></font></td>
      </tr>
      <tr height="75" style='mso-height-source:userset;height:56.25pt'>
        <td height="75"  colspan="10" valign="top" nowrap class="xl73" style='border-right:1.5pt solid black;
  height:56.25pt;width:502pt'>备注:<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<textarea name="remark" cols="80" rows="6"></textarea>        </td>
      </tr>
      <tr height="20" style='height:15.0pt'>
        <td nowrap  height="20" colspan="10" style='height:15.0pt;mso-ignore:colspan'></td>
      </tr>
      <![if supportMisalignedColumns]>
      <tr height="0" style='display:none'>
        <td nowrap  width="61" style='width:29pt'></td>
        <td nowrap  width="102" style='width:54pt'></td>
        <td nowrap  width="102" style='width:54pt'></td>
        <td nowrap  width="115" style='width:63pt'></td>
        <td nowrap  width="113" style='width:54pt'></td>
        <td nowrap  width="110" style='width:54pt'></td>
        <td nowrap  width="77" style='width:38pt'></td>
        <td nowrap  width="51" style='width:23pt'></td>
        <td nowrap  width="124" style='width:59pt'></td>
        <td nowrap  width="150" style='width:74pt'></td>
        <td nowrap  width="96" style='width:54pt'></td>
        <td nowrap  width="96" style='width:54pt'></td>
        <td nowrap  width="96" style='width:54pt'></td>
        <td nowrap  width="96" style='width:54pt'></td>
        <td nowrap  width="101" style='width:54pt'></td>
      </tr>
      <![endif]>
	  
	  <tr>
            <td align="center" colspan=10>
                <input type="submit" class="cmd" value="保存" id="submitBtn">
				<input type="button" class="cmd" value="打印" id="printBtn" style="display:none" onclick="printHandler()">
                <input type="button" class="cmd" value="关闭" onclick="window.close()" >            </td>
        </tr>
</table>
    <input type="hidden" id="master_tuid" name="master_tuid" value="${fld:master_tuid}">
    <input type="hidden" id="house_tuid" name="house_tuid"  value="${fld:house_tuid}">
	<input type="hidden" id="is_high_building" name="is_high_building"  value="${fld:is_high_building}">
	<!--input type="hidden" id="jianzhu_area" name="jianzhu_area"  value="${fld:jianzhu_area}">
	<input type="hidden" id="jiesuan_area" name="jiesuan_area"  value="${fld:jiesuan_area}"-->
    <input type="hidden" id="tuid" name="tuid" value="">
	<input type="hidden" id="is_local" name="is_local" value="${fld:is_local}">
	<input type="hidden" id="population" name="population" value="${fld:population}">
	<input type="hidden" id="zf_number" name="zf_number" value="${fld:zf_number}">
	<input type="hidden" id="is_onechild" name="is_onechild" value="${fld:is_onechild}">
	<input type="hidden" id="single_status" name="single_status" value="${fld:single_status}">
	<!-- 应分和增档的价格暂时写到程序里，以后可能从数据库里面查询出来 -->
	<input type="hidden" id="yingfen_price_policy" name="yingfen_price_policy" value="700">
	<input type="hidden" id="zengdang_price_policy" name="zengdang_price_policy" value="1500">
	<input type="hidden" id="room_type" name="room_type" value="${fld:room_type}">
    </form>
  </div>

<!--panel de respuesta AJAX #2 insert/update-->
<div id="response" style="display:none;width:100%">
</div>

<!--indicador de progreso-->
<br>
<div id="status" class="alert" style="text-align:left; display:none;color:gray;width:150px;font-weight:bold;font-family:Arial">
    <img src="${def:context}/images/progress.gif"> 请稍候！
</div>

</center>
<!-- <div name="" id="form"></div>
<p>&nbsp;</p>
<div class="clear"></div>
<div style="text-align: right;"> -->
</body>
</html>
<!--codigo de soporte del template-->
<script type="text/javascript">
	function IsNumeric(sText)
	{
	   var ValidChars = "0123456789.";
	   var IsNumber=true;
	   var Char;
	
	 
	   for (i = 0; i < sText.length && IsNumber == true; i++) 
		  { 
		  Char = sText.charAt(i); 
		  if (ValidChars.indexOf(Char) == -1) 
			 {
			 IsNumber = false;
			 }
		  }
	   return IsNumber;
	   
	};
    //返回
    function goBack() 
    {
        _goBackFn()         
    }
    
    //加载数据
    function edit(id,jiesuan_id)
    {
            ajaxCall(httpMethod="GET", 
                            uri="${def:actionroot}/edit?id=" + id+"&jiesuan_tuid="+jiesuan_id, 
                            divResponse="form", 
                            divProgress="status", 
                            formName=null, 
                            afterResponseFn=null, 
                            onErrorFn=null);    
    }

    //更新数据
    function update()
    {       
        _goBackFn = showEdit;
		var zf_area = parseFloatExtend($("#zf_area1").val()) + parseFloatExtend($("#zf_area2").val());
		var xf_area1 = parseFloatExtend($("#xf_area1").val());

		var zf_duiding = parseFloatExtend($("#duiding_area_z1").val()) + parseFloatExtend($("#duiding_area_z2").val());
		var xf_duiding = parseFloatExtend($("#duiding_area_x1").val());
		
		if(zf_area < zf_duiding){
			alert("正房兑顶面积不能大于正房原房面积！");
			return false;
		}
		if(xf_area1 < xf_duiding){
			alert("小房兑顶面积不能大于小房原房面积！");
			return false;
		}

        var tuid = document.forms["formEditor"].elements["tuid"].value;
        var newFlag = (tuid==""?true:(tuid=="0"?true:false));   /*界面中须要有tuid标识主键,为空是新增记录*/
        if (newFlag){
            return ajaxCall(httpMethod="POST", 
                            uri="${def:actionroot}/insert", 
                            divResponse="response", 
                            divProgress="status", 
                            formName="formEditor", 
                            afterResponseFn=null, 
                            onErrorFn=showEdit);
        }
        else{
            return ajaxCall(httpMethod="POST", 
                            uri="${def:actionroot}/update", 
                            divResponse="response", 
                            divProgress="status", 
                            formName="formEditor", 
                            afterResponseFn=null, 
                            onErrorFn=showEdit);
        }

    }
    
    function showForm()
    {
        document.getElementById("form").style.display="";
    }
    
    function showEdit()
    {
            document.getElementById("form").style.display="";
            document.getElementById("response").style.display="none";
        
    }

    edit("${fld:house_tuid}");

	function printHandler(){
		var url = "${def:context}/action/dq/yewu/jiesuan/pubshow/jiesuan/print?id=${fld:house_tuid}&random="+Math.random();
		var titleString = "jiesuan";
        var ScWidth = screen.availwidth - 10;
        var ScHeight = screen.availheight - 48;
        var WindowOption = "location=no,menubar=yes,toolbar=no,scrollbars=yes,status=yes,resizable=yes,top=0,left=0";
        WindowOption = WindowOption + ",width=" + ScWidth;
        WindowOption = WindowOption + ",height=" + ScHeight;
        var newWin = window.open(url, titleString, WindowOption);
        newWin.focus();
	}
</script>
